from django.db import router
from django.urls import include, path
from rest_framework.routers import DefaultRouter

from students.views import CityView, StudentView

router = DefaultRouter()
router.register('city', CityView, basename='city')
router.register('student', StudentView, basename='student')

urlpatterns = [
    path('', include(router.urls))
]